home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8107 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: cleveland.Freenet.Edu!cj841
  2. From: cj841@cleveland.Freenet.Edu (Chris Steiner)
  3. Newsgroups: comp.lang.c++
  4. Subject: MSVC++ 1.52, simple recordset question again
  5. Date: 14 Feb 1996 19:16:07 GMT
  6. Organization: Case Western Reserve University, Cleveland, OH (USA)
  7. Message-ID: <4ftcdn$h1f@madeline.INS.CWRU.Edu>
  8. Reply-To: cj841@cleveland.Freenet.Edu (Chris Steiner)
  9. NNTP-Posting-Host: nextsun.ins.cwru.edu
  10.  
  11.  
  12. I have a simple program that displays one field of a database in
  13. a combo box.  The other field of the database is a hash number
  14. representing the string displayed.
  15.  
  16. Everything is linked through m_pSet as suggested in the book, and
  17. I'm using the first, prev, next, and last toolbar buttons.
  18.  
  19. The problem I'm having is this:  The user can change the name of
  20. the record displayed, and when one of the toolbar buttons is
  21. pressed, the program saves the altered value without changing
  22. the hash number.
  23.  
  24. Is there a way I can get it to re-calculate the hash number when
  25. the user clicks on the toolbar, before the data is saved?
  26.